package Test;

import java.io.IOException;
import java.sql.SQLException;
import java.util.List;

import org.junit.jupiter.api.Test;

import cn.swunet.bean.User;
import cn.swunet.dao.UserDao;

class DruidTest {

//	@Test
//	void druidTest() throws IOException, SQLException {
//		System.out.println(new DBTools().getConnection());
//	}
	
	@Test
	void DaoTest() throws IOException, SQLException {
		User user = new UserDao().getUserById(5);
		System.out.println(user);
	}
}
